package com.itheima.附加题.work3;

public abstract class Vegetables extends Food{
    private String color;


    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Vegetables(double weight, String color) {
        super(weight);
        this.color = color;
    }

    public Vegetables() {

    }

    public abstract void use();
}
